package com.foot.travel.otto;

import com.squareup.otto.Bus;

public class BusProvider {
	
	private BusProvider(){}
	public static Bus bus = null;
	
	public static Bus getBusInstance() {
		if (bus == null) {
			synchronized (BusProvider.class) {
				if (bus == null) {
					bus = new Bus();
				}
			}
		}
		return bus;
	}
	

}
